// 资产状态
const assetsStatus = [
  { id: -1, name: '全部', langKey: 'statusData.all' },
  { id: 0, name: '闲置在库', langKey: 'statusData.idle' },
  { id: 1, name: '使用中', langKey: 'statusData.using' },
  { id: 2, name: '维修中', langKey: 'statusData.fixing' },
  { id: 3, name: '已借出', langKey: 'statusData.borrowed' },
  { id: 4, name: '盘点中', langKey: 'statusData.inventorying' },
  { id: 99, name: '已处置', langKey: 'statusData.disposed' },
]

// 单据状态（领用-退还）
const documentStatus = [
  { id: -1, name: '全部', langKey: 'documentStatus.all' },
  { id: 0, name: '已作废', langKey: 'documentStatus.voided' },
  { id: 1, name: '未申请', langKey: 'documentStatus.unapplied' },
  { id: 2, name: '已申请', langKey: 'documentStatus.applied' },
  { id: 3, name: '已撤销', langKey: 'documentStatus.canceled' },
  { id: 4, name: '已驳回', langKey: 'documentStatus.rejected' },
  { id: 5, name: '已审批', langKey: 'documentStatus.approved' },
]

// 维修状态（非单据）
const repairStatus = [
  { id: -1, name: '全部', langKey: 'repairStatus.all' },
  { id: 0, name: '已作废', langKey: 'repairStatus.voided' },
  { id: 1, name: '待审核', langKey: 'repairStatus.pending' },
  { id: 2, name: '维修中', langKey: 'repairStatus.fixing' },
  { id: 3, name: '已部分返回', langKey: 'repairStatus.partReturned' },
  { id: 4, name: '已全部返回', langKey: 'repairStatus.allReturned' },
]

// 审批状态（新版）
const approvalStatus = [
  { id: -1, name: '全部', langKey: 'approvalStatus.all' },
  { id: 0, name: '未申请', langKey: 'approvalStatus.unapplied' },
  { id: 1, name: '已审批', langKey: 'approvalStatus.approved' },
  { id: 2, name: '已撤销', langKey: 'approvalStatus.canceled' },
  { id: 3, name: '已驳回', langKey: 'approvalStatus.rejected' },
]

// 我的申请 - 审批状态
const myAplicationStatus = [
  { id: -1, name: '全部', langKey: 'myApplicationStatus.all' },
  { id: 0, name: '待审批', langKey: 'myApplicationStatus.pending' },
  { id: 1, name: '申请中', langKey: 'myApplicationStatus.applying' },
  { id: 2, name: '已通过', langKey: 'myApplicationStatus.approved' },
  { id: 3, name: '已驳回', langKey: 'myApplicationStatus.rejected' },
  { id: 4, name: '已撤销', langKey: 'myApplicationStatus.canceled' },
]

// 我审批的 - 审批状态
const approvalStatusByMyself = [
  { id: -1, name: '全部', langKey: 'approvalStatusByMyself.all' },
  { id: 0, name: '待审批', langKey: 'approvalStatusByMyself.pending' },
  { id: 1, name: '审批中', langKey: 'approvalStatusByMyself.reviewing' },
  { id: 2, name: '通过', langKey: 'approvalStatusByMyself.approved' },
  { id: 3, name: '驳回', langKey: 'approvalStatusByMyself.rejected' },
]

// 盘点单状态（单据）
const InventoryCheckStatus = [
  { id: -1, name: '全部', langKey: 'inventoryCheckStatus.all' },
  { id: 0, name: '盘点中', langKey: 'inventoryCheckStatus.checking' },
  { id: 1, name: '已完成', langKey: 'inventoryCheckStatus.completed' },
  { id: 2, name: '已作废', langKey: 'inventoryCheckStatus.voided' },
]

// 盘点资产的状态
const InventoryAssetsStatus = [
  { id: -1, name: '全部', langKey: 'inventoryAssetsStatus.all' },
  { id: 0, name: '未处理', langKey: 'inventoryAssetsStatus.unhandled' },
  { id: 1, name: '已盘点', langKey: 'inventoryAssetsStatus.checked' },
]

export {
  assetsStatus,
  documentStatus,
  repairStatus,
  approvalStatus,
  myAplicationStatus,
  approvalStatusByMyself,
  InventoryCheckStatus,
  InventoryAssetsStatus,
}
